Auto merge of #1452 - alexcrichton:issue-1355, r=huonw
authorbors <bors@rust-lang.org>
Fri, 3 Apr 2015 00:35:44 +0000 (00:35 +0000)
committerbors <bors@rust-lang.org>
Fri, 3 Apr 2015 00:35:44 +0000 (00:35 +0000)
commitd7b667152a93e8b16982039ca07f07bae5da1be4
tree386ecde1751730601f1978aa984f8b13c0780614
parenta6eb3f40d06d347614adb9c75a2176031fb1c5bd
parentf162aed2c743328b827da866e6cb906081c7bee8
Auto merge of #1452 - alexcrichton:issue-1355, r=huonw

The hashes would occasionally disappear when the main package registry overwrote
a previous registry source, so this just adds logic to load hashes if they're
missing.

Closes #1355
src/cargo/core/registry.rs
src/cargo/sources/registry.rs